package com.food.dao.service;

import java.util.List;

import com.food.dao.GradeDAOJdbc;
import com.food.dao.in.GradeDAO;
import com.food.model.Grade;

public class GradeService {
	GradeDAO dao= new GradeDAOJdbc();  
	public void insertGrade (Grade bean){
		dao.insertGrade(bean);
	}
	
	public List< Grade> findGradeByRecipe (Grade bean){
		return dao.findGradeByRecipe(bean.getRid());
	}

}
